<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="/WEB-INF/tlds/spring.tld"%>
<%@ taglib prefix="c" uri="/WEB-INF/tlds/c.tld"%>
<c:set var="BasePath" value="${pageContext.request.contextPath}"></c:set>
<c:set var="Plugins" value="${pageContext.request.contextPath}/res/plugins"></c:set>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>商品条码管理</title>
<link href="${Plugins}/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
<script src="${Plugins}/jquery/jquery-1.3.2.min.js"	type="text/javascript"></script>
<link href="${Plugins}/ligerUI/skins/ligerui-icons.css" rel="stylesheet" type="text/css" />
<script src="${Plugins}/ligerUI/js/ligerui.min.js" type="text/javascript"></script>
<script src="${Plugins}/datepicker/WdatePicker.js" type="text/javascript"></script>
<script type="text/javascript" src="${BasePath}/res/js/ligerCommon.js"></script>
<style type="text/css">
#searchbar{
   margin-bottom: 10px;
   margin-left:15px;
  }
  .navbar {
		height: 20px;
		border-bottom: #E6E6E6 solid 1px;
		line-height: 20px;
	}
.l-button-search {
	width: 50px;
	margin-left: 10px;
	padding-bottom: 2px;
	display: inline;
}
.inputSize {
	width: 150px;
}
select{
	width: 150px;
	font-size: 12px;
}
td{
	font-size: 12px
}
</style>
</head>
<body style="padding:6px; overflow:hidden;">
<div class="navbar">
		<span>您当前的位置：</span>
		出入库管理  &gt;入库管理 &gt;查看条形码
</div>

<div id="searchbar">
<br>
<table  style="width: 90%" border=0> 
		<tr>
			<td  width="13%">
      		调拨单号：
      		</td>
      		<td width="18%">
      			<span>${stockTransfer.transferNo}</span>
      		</td>
	    </tr>
	    <tr style="height: 9px">
     		<td colspan="8"></td>
    	</tr>
	    <tr>
			<td>
	     		调出仓库：
	     	</td>
	     	<td>
	     		<span>${stockTransfer.transferOutWhName}</span>
	        </td>
	  		<td>
	     		调入仓库：
	     	</td>
	     	<td>
		     	<span>${stockTransfer.transferInWhName}</span>
	        </td>
 		</tr>
 		<tr style="height: 9px">
     		<td colspan="4"></td>
    	</tr>
    	<tr>
			<td>
	     		负责人： 
	     	</td>
	     	<td>	
	     		${stockTransfer.director}
			</td>
			<td>
				创建日期： 
			</td>
			<td>
				${stockTransfer.createTime}
			</td>
  		</tr>
  		<tr style="height: 9px">
     		<td colspan="4"></td>
    	</tr>
  		<tr>
			<td>
	     		审核人： 
	     	</td>
	     	<td>	
	     		${stockTransfer.auditor}
			</td>
			<td>
				审核日期： 
			</td>
			<td>
				${stockTransfer.approveTime}
			</td>
  		</tr>
  		<tr style="height: 9px">
     		<td colspan="4"></td>
    	</tr>
 		<tr>
			<td>
	     		调出日期： 
	     	</td>
	     	<td>	
	     		${stockTransfer.transferOutTime}
			</td>
			<td>
				调入日期： 
			</td>
			<td>
				${stockTransfer.transferInTime}
			</td>
  		</tr>
  		<tr style="height: 9px">
     		<td colspan="4"></td>
    	</tr>
	</table>
</div>

<div id="maingrid4" style="margin:0; padding:0"></div>
  <div style="display:none;">
  <!-- g data total ttt -->
</div>
<script>
    var basePath='${BasePath}';
    var transferNo='${stockTransfer.transferNo}';
    var ajaxQueryUrl = "ajaxPageFinderStockTransferProduct.do?transferNo=" + transferNo;

    var grid = null;
    $(function () {
       	grid = $("#maingrid4").ligerGrid({
               columns: [
               { display: '货品编号', name: 'prodNo'},
               { display: '商品编号', name: 'commoNo'},
               { display: '商品名称', name: 'commoName'},
               { display: '货品规格', name: 'specName'},
               { display: '供应商名称', name: 'supName'},
               { display: '良品数量', name: 'qualifiedQuantity'},
               //{ display: '次品数量', name: 'defectiveQuantity'},     
               ], 
               pageSize:30,
               width: '100%',
               height: '100%',
               dataType: 'server', 
               dataAction: 'server',
               pagesizeParmName: 'pageSize',
               parms: [
                ],
                url: ajaxQueryUrl
           });
    });
</script>
</body>
</html>